<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>管理员列表</title>
<#include "../comm/upms-base.ftl" />
<#include "../comm/upms-layui.ftl" />
    <link rel="stylesheet" href="../../../static/css/global.css"/>
</head>
<body class="shik_body">
<div class="layui-row">

    <div class="layui-col-xs12">
        <div class="layui-col-md3">
            <a class="layui-btn layui-btn-primary layui-btn-small authorize_add"><i class="layui-icon">&#xe654;</i></a>
        </div>
    </div>

    <div class="layui-col-xs12">
        <table class="layui-table" lay-skin="line">
            <colgroup>
                <col width="150">
                <col width="150">
                <col width="150">
                <col width="150">
                <col width="200">
                <col>
            </colgroup>
            <thead>
            <tr>
                <th>sendKey</th>
                <th>授权名称</th>
                <th>商户名称</th>
                <th>签名名称</th>
                <th>模板名称</th>
                <th>启用状态</th>
                <th>创建时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
                <#list pager.content as authorize>
                    <tr>
                        <td>${authorize.id}</td>
                        <td>${authorize.title}</td>
                        <td>${authorize.smsHost.title}</td>
                        <td>【${authorize.smsSign.title}】</td>
                        <td>${authorize.smsModel.title}</td>
                        <td>${authorize.status?then('启用', '禁用')}</td>
                        <td>${authorize.createTime?number_to_datetime}</td>
                        <td><a class="authorize_edit" data_id="${authorize.id}">编辑</a></td>
                    </tr>
                </#list>
            </tbody>
        </table>
    </div>

    <div class="layui-col-xs12">
        <div class="shik_footer" id="shik_page"></div>
    </div>
</div>
</body>
<#include "../comm/sms-page.ftl" />
<script type="text/javascript" src="../../../static/js/authorize.js"></script>
</html>
